Q3CString_GetLength
You can use theQ3CString_GetLength
function to get the length of a C string object.
TQ3Status Q3CString_GetLength ( TQ3StringObject stringObj, unsigned long *length);
stringObj
- A C string object.
length
- On exit, the length of the specified C string object.
DESCRIPTION
TheQ3CString_GetLength
function returns, in thelength
parameter, the number of characters in the data associated with the C string object specified by thestringObj
parameter. The length returned does not include the null character that terminates a C string. You should useQ3CString_GetLength
to get the length of only string objects of typekQ3StringTypeCString
.